﻿namespace Sidvall.Web.IO
{
	public struct ByteRange
	{
		public long From { get; set; }
		public long To { get; set; }

		#region Length

		public long Length
		{
			get
			{
				return this.To - this.From + 1;
			}
		}

		#endregion
	}
}
